<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Angular JS模块化</title>
</head>
<script src="../libs/AngularJS.min.js"></script>
<script>
    var app = angular.module("myApp", []);
    app.controller('MyContrl', ['$scope', function ($scope) {
        $scope.text = 'Hello,World!';
    }]);
</script>
<body ng-app="myApp" ng-controller="MyContrl">
<div>{{text}}</div>
</body>
</html>